Replace `live` by `on` for compatibility with jQuery 1.9.
Refactor code and prefix objects to avoid conflict with Google Maps Image