Reduced Javascript-based validation