Only merge files ending in .js from ./chat-plugins/

i.e. stop trying to merge ViM swap files during testing
You're thinking of ``.substring()``, not ``.subtr()``. The second argument's the length of the string, but I should probably take it out since it's not necessary here