Update javascript post.