Remove OutputPage::isUserJsAllowed() (deprecated since 1.18)

Change-Id: Ib56d22f49f229cb91b938b70e386d50c1e38e927