// Common javascript for the site