Fixed ajax requests for cases when store is installed into a subfolder