fixed validation issue, added global.js references