Bug 976260 - Register javascript performance events with the profiler. r=jandem