gets library working with browserify standalone