Fix style stripping by adding missing /g flag

Change-Id: I6cd4b853638010d60809cecc87499113bd189d4c