OpenLayers is an open source mapping application written in JavaScript.

See  http://openlayers.org for more details.