Export frontend

adds js and html to export data