Use image_tag instead of <img>. The CSS from the jQuery Mobile gem is somehow different from the CDN hosted one so I'm gonna leave it as it is for now.
Use minified version of jQM CSS