Fixed JS warning.