how to create load more button using javascirpt