Add support for javascript in highchart configuration

fixes #4