modified the meter and jquery for text entrance