added fermata support
expanded jsdoc, replaced arguments[] by config obj