Removed extraneous "console.dir" command.