Only match migration files ending in .js

Avoids matching .js~ and .js.swp files created by some editors.
Merge pull request #1 from programble/patch-1

Only match migration files ending in .js