Hi,
I tried to use the (uncompressed) jquery mobile js/css data within the correspondending template files, but was not able to generate a (simple) JQM view with the tipical data-role models; even though I got rid of all other limeservey content in the template.pstpl-Files.
Nevertheless your second approach seems to be a better workaround for me (e.g. because of new releases of JQM), but I really do not get what you mean with "Adapt the HTML before apply jquerymobile" -may you explain it in details? Would be nice!
Greetings