added duration.js plugin