built up index.html, tried browserify. it ain't gonna work. so expect major changes to js code.