Upgrade to typescript 1.3