When Emma wakes up in the jail cell, the song Leroy is whistling is Whistle While You Work. Leroy's fairy tale counterpart is Grumpy, one of the seven dwarfs.
The candle that Emma puts on her birthday cupcake has a blue star on the end. She then wishes not to be alone before blowing it out. This is a reference to the song "When You Wish Upon a Star" and Geppetto wishing the same on the blue star.