minor typo
minor JS changes