OVT-7983: Changed the addRelations and removeRelations urls not to include url params. All required information is in the JSON body.
Fixed JavaScript warnings