convert usec to msec
refactor libj::console