Fixed a javascript typo