history fixed...deviceready was removed