Fixes #148 #143 #141 and add tests with karma and mocha
Updated package.json
Updated README with new installation options