I don't think you will be able to get it to work without some more modifications.

The 10k resistor is a pull-down resistor and the 390ohm resistor is just protection for the uC.

MOSFETs are voltage-controlled, while regular bi-junction transistors are current-controlled.

The MOSFET is connected between the cathode-side of the diode and ground, so you will have a voltage 0-5v between source and gate depending on intensisty of the LED. When it's connected to the anode-side of the LED, as the modification is doing, you would still need 0-5V difference between source and gate, but now you have the LEDs raising the reference for the source and you will never get more than 5V out from the uC, making it not work.

Unless I'm mistaken, what you need to do to get it to work, is to replace the MOSFETs with their opposite equivalent connected between anode and Vcc, and a transistor/MOSFET between uC and gate (with neccessary resistors).