add styles in duplicated js block