Fixes clipinit event
Test for onClipEvent(initialize)
Fixes tsc tasks to work on Windows