Bug 918321 - Remove some dead code from the JS engine; r=luke