add verstka send_email and some js functionality