remove image uploader scripts from application.js into new files