Use browserify && make for building the client.
Switch prototype to use browserify and javascript.