Refactored mouse event registration code
Refactored mouse event registration code

melonjs/melonJS,gopalindians/melonJS,Smoss/Enoru-eco,gopalindians/melonJS,melonjs/melonJS,MarkoIvanetic/melonJS,TukekeSoft/melonJS,rlugojr/melonJS,srbala/melonJS,srbala/melonJS,rlugojr/melonJS,gopalindians/melonJS,Smoss/Enoru-eco,TukekeSoft/melonJS,TukekeSoft/melonJS,MarkoIvanetic/melonJS,srbala/melonJS,rlugojr/melonJS