upgrading code to jQuery Mobile 1.3.0, fixing charset issue, adding all required js code in lib