Updated to use browserify instead of rjs