put javascript in head