cap update js

Signed-off-by: Galen Lockwood <galenlockwood@gmail.com>