Uploadify component refactoring