Some code comment fixes
Global.js has all basic functions