Only match migration files ending in .js

Avoids matching .js~ and .js.swp files created by some editors.