WIKI-154: Fix js problems when run wiki on platform standalone