getRecordList is refactored to recor.js