Changed the call to init() on deviceready, to also use window.load  This helps a timing issue on faster devices, e.g. iPad 3rd gen