Managed to get map loading correctingly. Now having a style sheet order problem with the buttons. The map doesn't like to be resized (or have multiple css stylings applied to it).