Moved head code to separate Jade template file.
Leftover fix for datepicker.