seems the  regex cause issues with picutres not showing in the viewer div.  comment them out.