added javascript and html