fixed bugs on js/mongo_http_graph_trunc_host_ip.js