change plugin to set attributes like innerhtml, className, etc