added one method to get cross-domain script.

see this [issue](https://github.com/01org/appframework/issues/607) please.