adding JavaScript testing

with mocha!