Making parseTime "safe" if an undefined timeVal is passed