moveSearchInput.js: Don't perform DOM query if not needed