Cleanup ready for rebuild as phonegap project