graph generated in javascript instead of being a static image