added goalId attribute to StepModel in JS