WIKI-193 Fix bug js error when can editing page after have a draft