Added javascript redirect to enroll