function stripBOM(str){
  return 0xFEFF == str.charCodeAt(0)
    ? str.substring(1)
    : str;
}
Strip any UTF-8 BOM off of the start of `str`, if it exists.

@param {String} str
@return {String}
@api private