In this case the clicks won't result in the actual coordinates in the image, for that the image should be in the top-left corner of the screen.
I could have compensated for that, but instead i decided to keep this script simple - as to avoid browser incompatibilities.
The Source-page contains a full working script,
that will work immediately, without installation or having to alter values. Just download it, open it, load the image and click away!