node-webkit workaround