Fix error in controller docs for JS
Fix CoffeeScript syntax to prevent error on page
Merge pull request #55 from ssbb/master

Fix JS/Coffee mistakes