added types.js module