Setup js to sent post data to batch_update