Application context have been taken into consideration in ajax-requests.

Bugfix: component inspection doesn't work for non-root application context path.