added stuff for typescript javascript