Removing a comment renders the temlate rather than dom manipulation