change ajax requests to relative paths
update comment