Javascript and design improvements.
Versions check updated.
Events added.
Merge pull request #10 from lavigor/master

Nice