Argh. Something wrong with specifying the parameter passed as the target index to render() within the anon func of .on(click