Updated js to only affect title attribute

for accessibility