requestAnimFrame = function() {
    return _requestAnimFrame.apply(fabric.window, arguments);
  }
requestAnimationFrame polyfill based on http://paulirish.com/2011/requestanimationframe-for-smart-animating/
@method requestAnimFrame
@memberOf fabric.util
@param {Function} callback Callback to invoke
@param {DOMElement} element optional Element to associate with animation