Fix syntax error in globals.js
work on UPB - stop looping error messages