Trying document addevenlistener deviceready