adding phonegap tutorial code