Added image.js javascript helper