Annonymous Function has no arguments

JavaScript