Can you check if rocket loader is turned off?
Another thing is to check that the scripts are appropriately added to content security policy script src site setting.
If none of these are working out, I suggest reaching out to Cloudflare @ https://community.cloudflare.com/t/using-discourse-with-cloudflare-best-practices/602890.