You need training.
While I agree with that sentiment (JavaScript debugging is the most basic thing you should be able to do before doing WCM implementations), I'll give you the benefit of the doubt and assume that you've been staring at this for hours and are no longer seeing the obvious. The very first line of your JS code is missing a comma, which therefore trumps the rest of the sequence. Again, a tool like Firebug would have reported this immediately.