added js for adding next prev button to enrolment pages