remove cruft js