     @trackId = 'track-' + new Date().getTime() + '-' + Math.floor( Math.random() * 99999 )
     @browser = App.Browser.detection()
     @data    = []
+#    @url     = 'http://localhost:3005/api/v1/ui'
 #    @url     = 'https://log.znuny.com/api/ui'
     @url     = 'https://portal.znuny.com/api/v1/ui'
-#    @url     = 'api/ui'
 
     @log( 'start', 'notice', {} )
 


    # log ajax calls
    $(document).bind( 'ajaxComplete', ( e, request, settings ) =>
      length = @url.length
      if settings.url.substr(0,length) isnt @url && settings.url.substr(0,6) isnt 'api/ui'
        level = 'notice'
        responseText = ''
        if request.status >= 400
          level = 'error'
          responseText = request.responseText
        @log(
          'ajax.send',
          level,

    $(window).bind(
      'beforeunload'
      =>
        @log( 'good bye', 'notice', {} )
        @send(false)
        return
    )
