update jsmeter code to fix some bugs from ?