added JavaScript traversal documentation