fixed README issue and added ts file to compile script