Remove is_ajax_form stuff
Handle blank interface_type clientside

This is ugly as hell. Please improve it if possible.