Added tooltips and fixed a minor javascript issue.