'scrollToTarget' method should return in case target element does not exist
When location.hash is an empty string, anchor scrolling shouldn't happen
Merge remote-tracking branch 'origin/fix_no_element_exceptions'