I have tried keeping datepicker js function in page load , Tried below code
function pageload() { $(\'[id$=kt_datepicker_1]\').datepicker({ //rtl