Made changes to CSS and JS. Added reconnection logic.