Updated package.json
Removed redundent code
add browser tests