I think it would be better to take the new comment template out of the main template, as this will be re-rendered (albeit hidden) for every infinite scroll. It also splits things up more nicely.