Fixing two calls to js.