Phone gap ready (almost)