Got the deviceready callback working.