Only remove ".js" extension