Update JavaScript style.