We came across this issue when testing our web application on IE6 and IE7. It works well on Firefox and IE8. Expected identifier, string or number The root cause is the extra ',' in the variables definition. References: http://yuweiqiang.blog.163.com/blog/static/66570412010623074104/ http://hi.baidu.com/hengcheng/blog/item/2dc020fa9d621f839f5146e5.html

