inspect objects in node and in the browser