shorter array initialization for simple tags
removed an obsolete appendChild()
due to popular demand, .each() now gets an index argument for the current element