Allow use of .js extension for components in the correc folders.