URBNG-68, URBNG-70 Fixed small bug caused by window.setInterval function when there is no search results.
Modified search method to check formatted dates.
Updated js controllers to make the code more readable.
Merge pull request #90 from angieo/web

ship it