Refectored out [0] nonses by putting in element.attr()
Made the templating more straightforward.
Fixed a bug introduced in the previous commit when dealing with properties and attributes.
New feature of progressive buffer loading is now in testing. Local testing hard due to downloading too fast to check so have to check in production :(