refactor with browserify
0.1.0