If it doesn't work live but works locally, then that implies it might be an issue with your browser settings or server settings. I wouldn't be able to spot an issue with your files in this case, since they may not have any issues.
I'd have to debug this live where I could reproduce the issue. If you give me FTP access, a URL for testing, and login credentials, then I could debug and let you know what is going on.