add option to pass navbar color from JS interface