went from hardcoded html to a js config file