add initial support for require.js
added initial Map module for RequireJS. Added loading of json map file from socket.io.