Rewrite the meter HTML function but a javascript function is missing...