Flexible javascript validation (easy integration with Backbone).