Minor cleanup of time.js

Change-Id: I25e78bb5fccb4de076da29884784e75a20a8caaa
Merge "Minor cleanup of time.js"