Working for social sharing.

JQM bugs spotted once when loading template from webintent.

Other bugs found as well, will patch later