Fixed js.image interface to return window handle

js.image did not properly return the window handle, unlike its
counterpart js.chart.
Merge pull request #5 from gdesjardins/windowHandleFix

Fixed js.image interface to return window handle