Javascript fixed

I had to fix up the javascript after cleaning the controllers
Merge pull request #24 from UberLame/master

Javascript fixed