page-term-hours.js clean up