when there are no comments the sort select is not present so we get and error
Merge pull request #7 from maior-valentin/master

[master] solved JS error when 0 comments as the sort bar was not present.