js error fix method name change.

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>