XWIKI-11225: Create a JS API to get some meta information.