fixed syntax error in helper.js