Fixed relative pathing in mainajax