updated hooks.js for recoveryType

Change-Id: I5fd3f834a0eb4ee4336c3c625d70c7cf96730dd1
Reviewed-on: http://review.couchbase.org/34251
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>