working demo of MouseClick in scalajsapp