Fix javascript typo