pass window object to node context and log to dev console