Started using jquery, added in tabs and got map to load in different tab