Update parser.js and path class.

This fixes parsing style from elements that have class="" attributes.
Has seen in #1290 issue
We still need those spaces around `=` ;)