Adds js and index files