Use onpropertychange where it exists, instead of oninput
Allow search endpoint to be configured.