Revert "fix for node-webkit"

This reverts commit a44df7004a3e0eaa593b1a9c8a7fc28b6f18cfb5.