Removing style attributes when empty