adding resizing of map for initial load. forgot to specify the script was js