Jasmine browserify

@vprus's fixes to jasmine-browserify branch