Put all the inline CSS and JS in the python script. Still needs testing