Add ability to require build with browserify and fix handling absence of options object