added jquery complete trigger