Fix condition in jslix.caps module.