highchart demo grafic type changed from 'spline' to 'areaspline', added function to hide messages/alerts when clic outside of them