Adds npm; Adds mocha; Removes jasmine suite; Minor refactor
Fixes a typo