Yes, inserting that script at the very end of the page (just before </body>) solves the problem.
I have noticed another issue, this one in the admin, when you edit the Google Map Widget content inside a Tab.
If you uncheck any option like “Scroll to Zoom” or “Draggable” does not save the changes when you save the page.
Maybe this issue should be in another post.
Anyway, thanks for the fix, I hope you keep on updating this great plugin.