add class in htmls for event binding

I'm refactoring old school event binding way. It related with a [this](https://github.com/dfdgsdfg/webportal-frontend/commit/8a86c77ed2300043fea8d9ff3d8ab2da8e92df30).