progress cleaning up and moving to browserify for dependencies