update to add styles CSS in head and JS in footer