added h:body and h:head
removed jquery, as the primefaces timepicker does not work with it
removed mode='popup' from calendar, which does nothing (only available to put the calendar inline)