Combined global.js with goal.js

global.js had only one line of code, combined it with goal.js - the main
javascript file.