changed JS load order

socket IO loads before chat controller now