fix typo; fiddle with colour change in onclick event