specs change jquery logic