added better browser support by utilizing jQuery 

Removed use of browserify, which was needed to include Q, but ended up making the file incompatible with module loaders