CRM-15618 - Crude workaround for front-end WP js bug