Convert controllers/modals/*.coffee to JS