setAttribute requires 2 args [Patch from @envygeeks]