We shouldn't set static inline style in JavaScript. Please set a CSS class instead.