update with the latest daterangepicker js code and examples