improve js validation
add css display class to timepicker
Merge pull request #1527 from craigh/pickerfix

add css display class to timepicker