bugfix for svg area overflow in Firefox ( https://github.com/thehogfather/pvsio-web/issues/79 ) -- we now use function onload, wait for the image to be loaded, and set then svg height and width using image height and width respectively