Graph embedded into html file via javascript (no iframe)