Update path.class.js

fixing coding styles