preparing app for node-webkit environment