replace dump() with console.dir()
Fix to remove .dump() methods.