Use global replacement in JS