phonegap deviceready done