rewrite time panel

stop using jquery-ui
start using Brick based on web components
replace jquery-ui slider with x-slider
replace jquery-ui datepicker with x-calendar
try using Date.now() in place of new Date where possible (for speed)