Fix setAttribute() call

element.setAttribute() takes two arguments. Wouldn't work on Chrome/Firefox with only one.
Added spaces.
Merge pull request #28 from KevinLi/patch-1

Fix setAttribute() call