Changing main back to being normal js

don't really gain anything from it being typescript