Fixed Javascript typo