Update path.class.js

had to include x and y properties even if not in normal path attribute_names.