Remove die

So that ajax_import_option can be called outside the framework