use npm and browserify instead of static js files