added mocha as dev dep
added browser test and using local mocha for test