fix(angular.retina): Safari requires window.devicePixelRatio during unit testing, Firefox only offers a getter for it. Solved by catching an exception thrown by Firefox