Issue 6830: fix strange error with console/commandLineExposed.js
Issue 6830: Fix JSHint warnings