Move search settings to Drupal JS API