Adding new code that hopefully will let map render on website correctly