Bar counting HTML5 webapp with speech