[TIMOB-18089] Move from JSType to TiType

Tijscore changes [here](https://github.com/appcelerator/tijscore/pull/16)