Adding js var for the created chart
Changing id so it can be used as js variable name
Update to latest version 3.11.2 and small fixes