fix for #917, where css is not rendered before openlayers render
fixed white spaces
Merge pull request #919 from aodn/issue_917

Issue 917