Redering problem of tender

I looked into requirejs documentation and other help related javascript and come up with this solution.
http://requirejs.org/docs/api.html#pageload
http://www.nczonline.net/blog/2009/06/23/loading-javascript-without-blocking/
Please add a comment explaining the motivation for this