adds $.pagelessCurrentPage and modifies stopListner() to avoid undefined error