Remove JS cruft