I guess it's something with allowing callback in webscripts in Alfresco. I have the same problem but I'm also not able to solve it...