Replace slash with MODX_BASE_URL

this adds support for MODX installs in a subdir