http://www.mediawiki.org/wiki/CC/JS#Creating_elements