Fix extensionless issue when importing in JS and CSS files