[web/component] Use global variable to point to ajax controller (part of #2758254)
/* * cubicweb js mock for unit tests * This module defines variables and functions used in quite a few places * in cw js framework that can't be used or guessed without a real CW server */varpageid='my-page-id';function_(message){returnmessage;}