MouseEventListener class to handle form submissions when
an input with type equal to image is clicked on.
A MouseListener is necessary since along with the image
data the coordinates associated with the mouse click
need to be submitted.