refactoring: added function $() to search element by id