set archive mode automagically when the date selectors are moved
add helpers for setting extra javascript