Re #340 - Front end for flagging image annotations as inappropriate

* added .json to the flag and unflag URLs used for the ajax calls