js post modify