One more negative experience with C3 ... a simple script does not show in the preview.
It's impossible to comment or help unless you provide more information.
C2 working perfectly... but in C3...
Develop games in your browser. Powerful, performant & highly capable.
You should host your script on HTTPS. That should work around the problem and is a requirement for any modern web content.