use browserify and add working demo main