move typex.js into ocframework