Allow use from within node-webkit