Bug 818958: Tell SPSProfiler when the JS runtime shuts down r=luke