Fix javascript error (typo)