The reason that the mobile phone charger blew the leds and the battery didn't is because the battery cant put out the same amount of current as the charger can.
But the guys are right, you need to put resisters inline with the leds to bring the voltage down to what the led needs.