Create get-type.js