MYLOC-109 Search input clear button

Adding a clear button to the search input. Button is displayed when:
- device supports touch events
- search input value has a length > 0

the method name checkInput doesn't really describe what it does. Is there a better name? Perhaps making use of the jsdoc would be sufficient.