Including transitions and jquery check