converted exercises to jQuery with similar style