Fix jquery each error in tooltip.

broken tooltip: http://jsfiddle.net/5h3gd/
fixed tooltip: http://jsfiddle.net/v4WrE/