#103: replace 'onclick' with respective 'class' names

Resolves #103.