added 'var' before _nw_self in signalr