LeBron James produced a mammoth triple-double to lead the Los Angeles Lakers to an overtime victory over the Dallas Mavericks.