edit javascript 2