added goal controller js spec