get first data after socket connect instead of extra ajax request

This makes thinks easyer and should speed up data load