Improved declarations for jQuery
Moved EventRegister to Typescript
Small improvements in code