Update to use require instead of loading JSON, this is better for browserify
Added browserify version and tests