Rewrote 2 str_replace() calls to one with array()