intial html page and JavaScript