JavaScript and LESS helpers for rendering high-resolution image variants