Fix bad check for empty config option

This was introduced when I converted this from CoffeeScript to JavaScript and then perpetuated in recent changes to respect the config option on page requests

Signed-off-by: Don Naegely <naegelyd@gmail.com>