CSS3 object-fit polyfill with jQuery