... maybe add ```|| isNaN( duration )``` anyway, in case the duration-as-a-string was defined, but contained garbage ... ?