Moving the style into the js