implemented browserify
implemented mocha and chai for testing