removed document.getelementbyid
google charts