Move all jqm related HTML to corresponding popup templates