improve responsiveness in Flowdata.js