Restyle profiles move events to pure JS.