jQMobile duplicate fix, templateCache implemented