added alert for jquery