Update GoalManager.coffee

add getGoalState