Cleaning up javascript.
Merge branch 'master' of github.com:kpaskov/SGDFrontend