Reformatted code

-JSONP methods did not need to be in the window event
-Code makes more sense now and its much more clear
-Allows calls to add events on dynamic element creation
-Allows jsonp request to be made on an event call