Added mean to phonegap