using mocha running on node to unit test backbone.js frontend code