Preparing app for node webkit and node.net