disect frontend js into seperate files

this is the first step to modularizer the frontend, see #35
add browserify and bundle task for production environment