Lots and lots of JSLint fixes and a fix for GCM population on deriv portal