Create record.js