function normalizeJsCode(code) {
	if (!code) {
		return code;
	}
	return code.replace(/\s*\badd_location\s*\([^)]*\)\s*;?/g, '');
}
remove code that only changes metadata and does not require a js update for the component to keep working

1) add_location() calls. These add location metadata to elements, only used by some dev tools
2) ... maybe more (or less) in the future

@param {string} [code]
@returns {string | undefined}