Export data: comparison function formatting
Export data: lift functions out of generateJs