added options-search

Please use jQuery instead of `document.getElementById`.