Fixes #3226 : Fix javascript bug in node reporting display

http://www.rudder-project.org/redmine/issues/3226

To be merged in branch 2.5