Fix syntax error in main.js

Fixes bat blocking bug:
http://teampulse.telerik.com/view#item/265297