Speedometer based on JavaScript and CSS3