Remove repetitive style and js