Mouse Cursor Position http://javascript.about.com/library/blmousepos.htm?p=1

typescript http://www.typescriptlang.org/Playground/