Datepicker doesnt work without scripts in assets.rb