Fix for tables in print preview for IE11

When YUI datatables are rendered in the page the closing tags are not
present for tables and captions. This renders the UI incorrectly in
print preview for IE11.
This is a fix for the above issue.