switching to proper method to attach flight input filters js