Start transition from HTML to jQuery