Updated for version 1.0.2 phonegap build