modified fileupload plugin, removed gem, used instead native plugin, fixed some bugs