add missing semicolons
add missing type attribute to script tags
add more missing semicolons
fix indentation
revert local changes on stub.py
namespace functions in script.js
wrap js in self executing functions to avoid cluttering global namespace
make a common function out of the loading-process
add missing var statement in loop
jslint fixes
Merge pull request #1 from atlefren/js_cleanup

Js cleanup