fix r.js compile - add socket to build.js