clientside socket bindings for realtime events
move footer scripts to an include