adding modernize and conditionally loading query if csstransitions aren’t supported