Don't fail installing rAF polyfill if jQuery.fx isn't present

When using a minimal jQuery build, `jQuery.fx` might not be available. This patch checks to make sure the namespace exists before trying to overwrite the functionality.