Add Phone Gap support