well, there is a nice book, listing many Jelly features. Although, I don't know if it is mentioned there
Goal - validate form field values Alert message is get using 1 phase JAXL expression, JS: - prefix
function validateForm() {
if (gel('first_name').value == '') {
alert("${JS:gs.getMessage('Please input First Name')}");
return false;
}
}