solved problem with datepciker by changing js files import order