error js deviceready