hooks.js: fixed stats for only-web
hooks.js: fixed stats for only-web

Change-Id: I76cd19149aafe4bca7c5a902d4c7c0b5314d4121
Reviewed-on: http://review.couchbase.org/41006
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Reviewed-by: Pavel Blagodov <596b71e626fc58dbdad141b817770e3e4810bb9b@gmail.com>
Tested-by: Pavel Blagodov <596b71e626fc58dbdad141b817770e3e4810bb9b@gmail.com>

ceejatec/ns_server,membase/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,membase/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,ceejatec/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,ceejatec/ns_server,ceejatec/ns_server,nimishzynga/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,mschoch/ns_server,nimishzynga/ns_server,mschoch/ns_server,membase/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server