Clean up for standard phone gap build