init: do not do ajax calls until after DOM is loaded
allcards: load as part of DOM, rather than using ajax

this works around a possible bug in the Android stock browser,
which did not like doing an Ajax call to a cached resource.