Updated for version 1.0.1 phonegap build