added type in html for javascript lines