Updated JavaScript externs
Updated TODO [ci skip]