move js files
merge edit.js to common.js