refectors css/html/model code that was incompatable with the production environment