update language file
reformat code
chagne css, js code modify for media gallery options, priority added for media gallery options