Fixed javascript typo