That's a current limiting resistor, it's so you don't blow your LEDs with a 9v battery. Personally I've never managed to blow one, but I expect that's because I'm using almost dead batteries or something. Or maybe my LED can for some reason handle more...
Either way, wire a 1k resistor in parallel with your LED and it'll be fine.