fixed config placement and js files per SJ