CRAFTERCMS-296: js error in all browsers, leads to a pop-up in IE 10

Only render a module's content if there's an existing configuration
for it (set in site-config.xml).