add js files and main html