Added Modernizr to check for features like websockets and handle cases
where browsers do not support them.