For the future, you should look into adding Jasmine unit tests for your JavaScript/Coffee code. FYI, I don't think the Coffee code is covered by our diff_cover tool (though it should be).

There are lots of example Jasmine unit tests, especially in the CMS area. They generally live in a "spec" folder at the same level of the source folder.