Translated Javascript, remove jQuery animatie in favor of CSS3 transition