remove old javascript stuff