       init()
       $.pjax
         url       : config.url
-        container : config.container+        container : config.container
+        data      : config.data
+        type      : config.type
+        timeout   : config.timeout
# ------------------------------------------------------------------------------
# Handling pjax calls
# @constructor
# @param {#object} args
#   url - the remote url for the ajax call
#   parent - The parent dom element for the events, defaults to body
#   container - defaults to js-pjax-container
#   success - Callback function to fire on pjax success
#   error - Callback function to fire on pjax error
# ------------------------------------------------------------------------------

define ['jquery', 'jplugs/jquery.pjax'], ($) ->

    config =
      container : '#js-pjax-container'
      parent    : 'body'
      type      : 'GET'
      timeout   : 650
      url       : ''
      data      : ''
      success   : ->
      error     : ->

