transition speed causing issue with jk flip flop
I don't understand what you're trying to accomplish (try using shorter sentences), but one glaring problem in your design is the fact that you have the J and clock inputs of your FF tied together. This means that the J input will be changing at the same time as the clock edge, which almost certainly violates the setup and/or hold time requirements of the FF. Why don't you just tie the J input high?