Refactor migrate.js