         options.type ?= 'GET'
         options.beforeSend ?= (r) -> null
         $.ajax uri,
-            beforeSend: (r) => addAuth r; options.beforeSend r
+            beforeSend: (r) => addAuth r; addVersion r; options.beforeSend r
             data: options.data
             success: options.success
             error: options.error

            app.run()
            $('#aule').show()
            $('#loading').fadeOut 'fast'
        dataType: 'json'

    addAuth = (r) =>
        r.setRequestHeader 'Authorization', makeBasicAuth @login, @password

    # Add Accept-Version header to request
    addVersion = (r) =>
        r.setRequestHeader 'Accept-Version', ACCEPT_VERSION

    addRange = (page) =>
        start = page * @pageSize
        end = start + @pageSize - 1
