added recipe validations and js for recipe page