minor comment typo fix in base_module_model
updated code for the datepicker to also look for a variable called imgPath defined on the main window object