Prevent error when the daterange html element isn't there
Merge pull request #13 from borkweb/3756-js-error-daterangepicker

Prevent error when the daterange html element isn't there