Added ability to add cross origin attribute to scripts of the root