After looking all night I found a thread that fixed this. You have two choices really to fix or buy your router which I'm not going to do, or you can type in on your dial pad *#0011#. Then you click your menu button, click on the wifi option, and then disable the energy saver wifi mode. That made it so my phone wouldn't drop wifi connection anymore. NOTE: each time you restart your phone you need to turn the wifi energy saver off through the command *#0011#. Hope I helped some of you because this bug is truly annoying.
Sent from my SGH-M919 using xda app-developers app