Update console_command.js

Brought some functions found in console_js in blue server into the client side blue mirage