A validator for RingoJS