node-webkit compatibility