Update goal-list.js

Lots of changes by Gombill
Merge pull request #2 from Gombill/patch-1

Update goal-list.js