tweaked code comment
added cache-loaded event
code comment tweaks
added detect and verify for websql
moved callback to after db init
changed how no. of tiles are calc'd
removed old code
moved javascript block to bottom
moved code inside require closure
moved verifyOnline into closure
moved listener on btn-get-tiles into closure
tweak code comments