Generate and edit a dynamic Cascading Style Sheet using JavaScript.