fixed bugs on js/mongo_http_graph_trunc_host.js