Made it possible to skip files without .js extension