Nevermind, got the answer here:
http://stackoverflow.com/questions/17638774/syntax-error-at-or-near-on