add application.js & record.js