cleaned up js file in user module

stripped unnecessary/project-specific file upload logic