Fix a few js nomenclature errors