Wordclouds should now display if DOM controls are missing

Added some guard conditions to check if the DOM elements
'display_plain_words' and 'required_idf_filter' exist.  If these
elements don't exist, the code should assume sane defaults that still
allow the wordclouds to be displayed.