calling progress.js in document