fixed some rendering issues with the metadata but still can't get the ajax button to work when the page is loaded via ajax. I know the data is there but the toggling of the hide class doesn't work