deviceready instead of document ready