Removed old jquery function that is now added as vanilla js in the unit/details.ftl template.