fix javascript typo breaking pages with a select box