fixed syntax error in goals.js