modularizing js plugins, upload progress indicator