added some js shame for gallery metabox