Remove useless subshell, compress html template size