to keep code simple, copy hide template instead of all from javascript