HTML5 altimeter