code: function isCodeCasting() {
      var pathname = location.pathname;
      var edit = '/edit';
      var watch = '/watch';
  
      if (pathname.slice(edit.length * -1) === edit) {
        return true;
      } else if (pathname.slice(watch.length * -1) === watch) {
        return true;
      }
  
      return false;
    }
docs: Spike