console.foo, var_dump and print_r statements added