Bug 976260 - Register javascript performance events with the profiler, second attempt at pushing. r=jandem