Fixed window.performance.memory reference on firefox