Fix dates inputs
Add select 2 component
Refactor all js