EDIT: Due to the answer I change the code posted. I\'ve added the Security.allowDomain(\"*\") line and that line throws me an error. So, how can that be made?