Fix jquery-mobile header title generation error in page templates