rename publication reference field to body for easier multi-model search
refactor jQuery for hide function
refactor jquery for close function
fix typos in js template