Another useful tool is firebug and the net tab, you should see the request go out and see how the server responds. My first thought is the path the js uses is relative (no leading slash for example) and not resolving as expected.