class OilList {
    constructor() {
        this.form = document.getElementById("fSearch");
    }

    submit() {
        this.form.submit();
    }
}

const oilList = new OilList();

$(document).on("change", "#year", (e) => oilList.submit(e));
