Fixed type error in renderJQuery