Fix edit js files