More IE support.

Switched caption to attribute so it will work in IE 8.