restore HTML5 search/clear behavior clobbered by Bootstrap3
removed duplicate method