Fixed a couple of typo.js issues