created a better, stronger form of cookie more resilient to the phonegappin' process