removed unused require
implemented simple max file size client check
added maxFileSize=3000000 to all upload methods in the demo