update to allow for browserify for module loading