fix resource path reference
selectors for cause and effect
support for indefinite time ranges
store times as seconds, not ms
fix jqueryui timepicker format