Add stdTTL and checkPeriod to index.js, deleted empty line