Need a "#" at the start of rgb strings!
Apparently firefox defines self.location for webworkers.
Added support for firefox viewBox setting. Got demo.html working in
IE10.