Upgrade jQuery to 2.1.1
Upgrade jQuery Mobile to 1.4.2
Refer new versions
Remove unused H.parent_pid_from_pid
Remove unused H.PID_TO_PARENT_PID_TABLE
Fix wrong page retrieving to H.complete_header
Add blank lines for consistency
Use $m for consistency
Remove the header to rewrite it later
Rewrite the header as a persistent toolbar
Use $.on instead of $.bind
Port adjustment of #header .button highlighting
Remove use of deprecated $m.activeBtnClass
Add H.get_current_page
Port "Share" function
Fix CSS for .disabled.button
Port "Reshuffle" function
Add H.is_dynamic_page_url
Adjust the initial page if it is a dynamic page
Remove dynamic page building for further rewriting