Fixed issue with sending email, added jquery for UI interactions