Our simple map generator will cheerfully help and generator the javascript code needed.
Links, tooltips and so on.
And the good news is it is entirely free - just go to mapsgenerator.tdbtools.com
We have online help and examples as well.