Fix few errors ($request in ConsumerController and some git comments in addComment.html.twig)
Javascript for ajax queries