Basic implementation of data validation for Ractive.js