this.handlechange = this.handlechange.bind(this) code example
Example: javascript bind onchange event
transport_select.setAttribute("onchange", function(){toggleSelect(transport_select_id);});
// or
transport_select.onchange = function(){toggleSelect(transport_select_id);};