Wrapped map initialization into document.ready