Update latency.js

The operation according to the argv 
[c] The syntax of the function run [i] has the same name as the function being executed in syntax errors and modifications.
Update latency.js

Modify the missing else statement
Merge pull request #151 from seedyoon/master

Error Fix :  performance latency.js