Pass array of objects including element attributes

Array of objects can also be passed as list option which makes it possible to add arbitrary attributes to the rendered span elements.

Needed for a project where words represent categories and further details of the categories should be appear on mouse over.

The list array's object must have the properties 'word' and 'weight' and can have an object 'attributes' containing any attributes which should be added to rendered span elements.

**Example from index.html, line 371**

    list.push({ word: lineArr.join(' '), weight: count, attributes: { title: 'I have a weight of ' + count }});