Working example: http://jsfiddle.net/Gajotres/AtKhs/
When appending content to page header or footer another function must be used.
.trigger('pagecreate');
Unlike trigger('create') which enhances only content, trigger('pagecreate') will try to enhance everything.
Read more about it in my blog article HERE, look for a chapter called: Enhance a full page content. Working example can be found there.