update jquery function

The title tells us the next jquery enables the input, instead the function
adds or removes the title attribute.

Rather than just updating the title, the new function has a direct visual
difference.