Updated goal-list.js based on http://pastebin.com/3rQbuwVu