Thank you in advance.
best to use a hidden field
<input type="hidden" name="something" value="whatever">
that could be a start
About the minimum:
var myTitle = 'foo';
document.write('<div title="' + myTitle +'">);
Too bad IE doesn't support JS entities...