The JavaScript Console shows any errors in the JavaScript. If the problem is the cross domain origin, it will say so in the console. If it's something else, it will say what it is.
On Chrome, you can find the JS Console under the wrench -> Tools -> JavaScript Console
It's really difficult to try to work out what your problem is without being able to check things myself. Do you happen to have some sort of web server you can upload your files to, so I can see both the game that isn't working, and the output of the PHP script? It may be a good idea to try a separate server anyway, to see if it's a problem with your server rather than your code.
http://www.freehostia.com is a free host that allows you to use PHP/MySQL.