supplying main index files and js files