Put Jquery, ready function and Map in same script

Though Map is still outside the ready function and the getJSON, it’s in
the same script tag