remove excess JS stuff