type.js added