Useful Modernizr test and JavaScript code to show CSS sprite with HiDPI devices