Change order of JS hooks
More consistant max-width on datepicker