deviceReady event added