metamer: inplaceSelect: fixed script in valdation messages test to work in all templates.