Updated script and mark up for multiple media metaboxes