Right - I sussed out what the problem is. It is to do with the Javascript files being compressed together. I have managed to get it working, but need to investigate a bit further. Can I exclude certain files from the compress_js process without touching the core? That is my next thought.