fixed bug that wouldn't let you go back after a search
added icon to elements with custom javascript