Bug 964803 - Cleanup the JS OOM testing code. r=jandem