Structure html and add share functionality.