minor change to incrementing jquery code