Fixes issue #315: disabling ajax_search_ options in thruk_local.conf causes javascript error