Started refactoring jsonp.js

I want to rewrite this whole file into smaller CommonJS spec modules. I am starting this process by commenting and cleaning up formatting.