function remove_bom(source) {
	if (source.charCodeAt(0) === 0xfeff) {
		return source.slice(1);
	}
	return source;
}
Remove the byte order mark from a string if it's present since it would mess with our template generation logic
@param {string} source