Only include files ending in .js

Without this, ViM swap files were being incorrectly parsed while I was editing the module.