create index and browser scripts in root as require targets
Merge pull request #2277 from jackwanders/browser-less-as-npm-target

create index and browser scripts in root as require targets