wp-1056 added script for setting proper width for caption wrapper element in wysiwyg.