A tiny bit of math to window.performance object in chrome and firefox