Fix Bug 933443, do not show urls table or execute JS when there are no results

@AdrianGaudebert, @brandonsavage  r?