transition and js clean