Actually, I wanted it to look more "Javascript" coding style. Anyway, from my unit test, my script still works after the changes.
Thanks again. I'll keep "the casting issue" in mind.
Thanks again. I'll keep "the casting issue" in mind.