update to typescript 1.3