Application context have been taken into consideration in ajax-requests.
Merge pull request #51 from Bezuhlyi/master

Application context have been taken into consideration in ajax-requests.
Application context fix again.
Merge pull request #52 from Bezuhlyi/master

Application context fix again.