[jmdb] Can't get rainbow mode working automatically