Try integrating with phonegap storage