Only include files ending in .js
Merge pull request #11 from niallo/fix_includes

fix(core): Only include files ending in .js