Query and format function initialization, arbor.js adaptation