Improved javascript. Hide of block "limit" when no results.