converted to phonegap project