Acids in cookie doughs cause the proteins in the flour to firm up more, producing chewier cookies. The acid would also react with the baking soda, increasing rise.
I've seen some cookie doughs that use cream of tartar (or baking powder) for similar reasons, but lemon juice should also pair well with the chocolate.