On line 180 in tour.js we have the following line:
if ((itemId || itemClass) && $document.find('#' + itemId + ', .' + itemClass).length === 0) {
If "itemClass" or "itemId" are not provided we end up with something like "#, .foo" or "#foo, ." we need to check these individually.