Update path.class.js

Fix for path position, i'm sure is not the good way, but looks like it works.
Update path.class.js

fixing coding styles
Update path.class.js
Merge pull request #1 from asturur/path-position-fix

Path position fix