Tweaked js, changed controller to work with formater
Merge pull request #2 from fox-squirrels-2013/js

Tweaked js, changed controller to work with formater