Test edit js