Added a compile flag that enables cross-domain scripting