Read,
This is obviously not the most elegant method to to power led's, and high voltages exist which can be lethal.
Rather invest in a AC to DC converter(these are very cheap) and use the relevant resistor to control the current through the LED's.
In many countries the frequency of the AC supply is not a constant.