refactored dynamic stylesheet
minor
security updates for dynamic stylesheet