gsUtils.js passes JSLint 100%

However one of the lines I changed I still need to confirm it doesn't
break anything.