Remove createHtml function and build iframe in permalinkpanel.html
Remove share function and build links href in permalinkpanel.html