797b3e Declare all variables for stats JS

1 file Authored by Lubomír Sedlář 7 years ago , Committed by Pierre-Yves Chibon 7 years ago ,
    Declare all variables for stats JS
    
    Also use function declaration instead of assigning anonymous functions
    to variables. Such functions don't require a semicolon, so these can be
    removed.
    
    Semicolons are added after statements that were missing them.
    
        
file modified
+15 -17