add <g>, <polygon> support, access to 'transform' attribute using attr() method