Added datepicker for firefox compatability; refactored css implementation