Making search work for readthedocs theme.  It borrows client side code from sphinx but has no dependency on that project.