CONSOLE: changes to make code jshint valid