anchor title from html text for title blank js for title undefined