got js minification and debug concat toggle working. some messy code here that will need to be revisited when time permits