Added template blocks so crowds can override js functions, better generic handling of is_accepted.