Remember to save it with the name "MapGridOverlay.js" and make sure everything is installed correctly. At least it works for me.
Viewing post in My next plugin will be: "Shapes Recognition" comments
Try with my project folder:
https://drive.usercontent.google.com/download?id=1b8gq6j4qRckocmMjo3PmoRLLYjNLSj...