Better handling browsers that don't have the performance API