Moved to phonegap