Refactores STATIC_URL handling
Highcharts configuration example
Improves error handling
Adds tests