 #    @url     = 'http://localhost:3005/api/v1/ui'
     @url     = 'https://log.zammad.com/api/v1/ui'
 
-    @log( 'start', 'notice', {} )
+    @log('start', 'notice', {})
 
     # start initial submit 30 sec. later to avoid ie10 cookie issues
     delay = =>

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

  log: ( facility, level, args ) ->
    return if App.Config.get('developer_mode')
    return if !App.Config.get('ui_send_client_stats')
    info =

          clickY:  e.pageY
          screenX: w
          screenY: h
        @log('click', 'notice', info)
    )

    # log ajax calls
