refactor(templatePage): remove classes from events

get classes on js side

time: 0h:10