Adding socket.io.js served locally. Refactoring MetaData/ImageData