<=IE8 support fix

HTML element creation with jQuery needs to have valid tags. Newer browsers automatically correct the error,but IE8 and less do not. Non-self-closing HTML tags need closing tags to be valid.
Merge pull request #11 from rmarsch/patch-1

<=IE8 support fix