Now to phonegap this son of a gun