It's not works.
That is not the point. I did not say that faith saves you nor did James. He said faith without works is dead. Maybe it can be understood if we grasp that many who claim to have faith use it like Catholics use a religious relic. They feel protected by such claims but otherwise do as they please and ignore the commandments of Christ.