Modifications made to client servlet
Added JS check for web socket support