create each utility function and remove jquery dependency from replace links function
create each utility function and remove jquery dependency from replace links function

allen-garvey/h-news,allen-garvey/h-news