A compatibility layer for Node-Webkit and Chrome App