Add footer and fix jquery-mobile issues