Adjust the update_issue endpoint to return ok if we updated via javascript
If the POST url contains a ?js=1 and all goes fine, the method will
return a simple 'Ok', otherwise it will return some html which means
something went wrong.
On the JS side, we can then check if the update did go through or not.