That code adjustment works, but it still crashes on iOS. The plugin gets the location from iOS, searches for stores, shows them for a moment then crashes Mobile Safari.
I’ve got the phone plugged in for Safari Dev access but because the page actually throws Safari out you don’t get to see where in the code the crash happens but it’s just after the stores are located and displayed.