Spin spinner on PhoneGap deviceready event.