Moved Pagination JS From Quiz PHP File