Add dash.js

add dash.js and cleaned up code so dashjs and socket.io in main.js