Recover config.sample.js && fix format