Added in a mocha test, run from Karma, that tests a simple js function in client/js