Get free space on PhoneGap -- from http://stackoverflow.com/a/23511474/129698