Only turn on ajax form submissions after the socket is connected
Merge branch 'develop' into testing