Node-webkit compatibility.