Why would I use typescript instead of javascript if I don't have to specify types in javscript?