test edit js for all