create index and browser scripts in root as require targets