added new files including field.js, socket.js