fixing goals.js