console shim enhanced to filter logs. jshint changed deprecated "predef" to "globals"