Adds scripts and browser to package.json.