Fix issues with index

Attribute height and width aren't allowed on element div.
An img element must have an alt attribute.
Merge pull request #4 from eminemix/patch-1

Fix issues with index