Add renderer in hooks js