Update type.js

Changes typing below Salsa form