Moved map creation to onload