add datelibrary.js file