NXP-14230: fix inline scripts escaping
NXP-13080: format (replace tabs by spaces)
NXP-13080: fix ajax render on tag add/remove + cleanup useless vars/attributes