[CLEAN] website_event: migrate to the new API + some code cleaning