remove extra javascript in header