Add support for javascript in highchart configuration

fixes #4
Merge pull request #6 from Ecodev/issue-4-events

Add support for javascript in highchart configuration