node-webkit compatibility
Merge pull request #67 from ljxia/master

Node-webkit compatibility