Check the configuration before adding JS

Completely disable related posts widget when limit set to zero. Closes #15