Move loading text style css into js