phonegap deviceready