Fix linting errors in timeShift.js