fixed VB-3131 with prototype.js upgrade, thanks to https://code.google.com/p/gmaps-api-issues/issues/detail?id=7067