Lint errors fix.
Make options work.
Use clientX/Y and Rect left/top for mouse pos.

The original method has some problems with firefox.
It always gets a 30 pixels difference with the real Y.