WEBUI JS: rename the timerec to time schedule
DVR: Fix the retention condition

Introduced by "[htsp] allow clients to get/set dvr priority and retention"