I am having the same problem. I did manage to solve it thanks to your work on this, but had a few questions. I enclosed my custom .js files and that didn't fix the issue. I had jQuery 1.4.2 min included in Page.php. When I removed it from there and included it in Page.ss things started working.
Please forgive my ignorance, but why is this? Do I need to enclose the whole jQuery file or something?