applyBabelJob: Added missing /g flag to a regexp that's supposed to replace all occurrences.