moved function createContentContainerMarkup() into template helper script.
moved function generatePickerMarkupAndScript() into templating helper script.