Tweaks to make browserify load module properly