Update parser.js

Adding necessary functions and properties to handle clipPath