A simple JavaScript percentage meter