A simple jquery  fix to allow testing of apps requiring 'deviceready' event.