refactored read-more and lightbox js