Domain mapping & Javascript issue

I'm having problems with WP-Polls and Domain Mapping.

On regular blogs, WP-Polls works fine, but on blogs with their own domain through domain mapping WP-Polls doesn't seem to ahve permission to run javascript. I've tried to chmod the js file but it doesn't seem to work.

Anyone got an idea of what can be done?