activate in-line javascript in html files