When the 'href' attribute of a HTMLAnchorElement is set to '#' or 'javascript:void(0);', a click should not lead to a location change. A workaround can be found in https://github.com/orslumen/env-js/commit/80c79e34a8fe96a9b1dd09647ac27e0e32f5a47e