added js and index files