Correct merge of Gary's index edits + RequireJS

Had to revert the index to get Gary's changes that were overwritten by
my merge with RequireJS config.
Connected the socket to the user representation

-Connected the socket data to display and remove users
-Reformatted scripts to use RequireJS