Updates comments and removes some unneeded expJavascript global vars