export_hc function

Function to export js file the configuration options