Add is_theme flag to redirect styles/js to theme folder, otherwise assumes panel is in a plugin