Removed the old javascript code from before the conversion to SignalR