Updated versions, comments, added new demo

I have updated the versions to SemVer spec and added a new, more
polished and performance optimized demo file "attachment-demo2.html".