Right, that's what I always assumed.
Maybe the JS syntax needs to be able to handle the way these links are setup then, example link:
<a title="FAQs" href="faqs.php"><span style="">FAQs</span></a>
As you can see it throws the title right after a. Ideally, the best fix would be to stop the function that's auto adding titles in the first place only it's obviously deep in the core code or in one of thousands of files.
I've searched for hours for that answer to no avail so I'm now trying to cover up / workaround the problem.