Only include requirements if needed

Only set the javascript and css requirements if displayLogicCriteria is
set.