Update path.class.js

Fixes == with ===