Citrus watering calculator using phonegap