Type updates

Updates to the javascript typo updates and header