fixed jxr setup - moved up plugin
Added dublicate code, and bug