Added the JS helper for image-resizer