Adding fix to js

Signed-off-by: David Roach <dr@ammirati.com>