Style and logic amends for freshdesk plugin