At the moment, cloudflare with 'full speed optimizations' is incompatible with requirejs. If you are using both on your site, it will kill your js loads.
The reason for this is that cloudflare injects a small script on the site called 'rocket loader', which, if I'm not mistaken, tries to do the same thing as require -- loading blocking script tags as async after
window.onload. A part of this script adds a global
define variable, which messes with requirejs and causes all require loads to fail.