Changed ajax to allow relative path.

> removing / works -.-