make util-type.js

Signed-off-by: inabe49 <darwin49@gmail.com>