modified js pagination