function stripBOM(content) {
  if (content.charCodeAt(0) === 0xFEFF) {
    content = content.slice(1);
  }
  return content;
}
Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)

@param {string} content with BOM
@return {string} content value without BOM