Updated js
Updated main view
Added mocha files