jquery$ (elemento existe) {faça algo}if ($("#nearby-Shop").length) { $("#go-By-some-bear").hide();};-Tu.