I could reproduce the issue after including prototype library. Problem is that prototype extends default objects like Array, etc by adding new properties to them because of which “for in” won’t work as expected. I’ll try to fix the problem and get back.
Here is a thread on the same…
Thanks for Reproting,