Fix the action definition error in download.js