fix npm require. use require('time-js')