Updated to ts version 0.8.3

Made contextmenu lazy initialized