fix admin js api typos