Attach image_input_click function to window object

So other parts of the page can access it
Merge pull request #1392 from edx/db/attach-image_input_click-to-window

Attach image_input_click function to window object