add HTML5 mode for routes
refactor category results. use dropdowns as directive