Addition of JavaScript Image API