Validation on view order using jquery