If you use libraries that modify built-in objects and/or their prototypes, like prototype.js, pretty much anything can happen. Try to use libraries that don't do that because it can cause conflicts with other libraries.
I recommend removing all other libraries temporarily to see if the problem disappears. Then try re-adding them one-by-one to see which one is causing the problem.