Fixed `setAttribute` bug in FireFox.

https://github.com/cferdinandi/kraken/issues/34