Create toType_demo.js