Javascript event library to create javascript based interactions that degrade well when javascript is not available