Update type.js

Changes typing below Salsa form
Merge pull request #2 from PDSchatz/patch-3

Update type.js