Using setAttribute: a JavaScript Example