add karma mocha javascript example