Adds dependency
Removes crossdomain