bugfix:  modx.console, js error on close
Fix js error on MODx.Console.close()

Merge remote-tracking branch 'origin/pr/610' into develop

* origin/pr/610:
  bugfix:  modx.console, js error on close