update to work with browserify
update version and and 'main'