Fix resource edit upload
Fix forms JS