Make JS namespace deprecated since 2.22 accordingly https://bugzilla.gnome.org/show_bug.cgi?id=795497