fix path to panel script.js -. ../assets ->'.MODX_BASE_URL.'/assets