[BUGFIX beta] Use domHelper for setting attributes, allows camelCase attrs