mocks/jobs: round down possibly non-integer interval

This ensures that setTimeout works as expected (don't want to find out what
happens on non-integer timeouts).
mocks/jobs: style (even indentation)