updated the main page, started js