Bug fix

Browser was being directed to javascript:showGoalSettings({{ goal.id }}); instead of the javascript engine executing the code.