add performance.js for a view into the window.performance object