update typescript definitions. merge vendor scripts into index. add cache manifest