Statistics: clean the way to display JS variables