Use direct URLs

Whenever you use ajax to query something you always want to use direct URLs instead of relative URLs so you don't get errors when querying from a different page other than `/`