Edit with js